package cn.edu.zut.logistics.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("business_type_distribution_metrics")
public class BusinessTypeDistributionMetrics {

    @TableId("metric_id")          // ← 表主键是带空格的 metric id
    private Integer metricId;

    @TableField("statistics_date")
    private LocalDate statisticsDate;

    @TableField("business_type")
    private String businessType;

    @TableField("package_quantity")
    private Integer packageQuantity;

    @TableField("proportion")
    private BigDecimal proportion;

    @TableField("revenue_amount")
    private BigDecimal revenueAmount;

    @TableField("create_time")
    private LocalDateTime createTime;
}